package com.uam.db.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserListDTO {
    @ApiModelProperty(value = "用户id", required = false)
    private Long userId;

    @ApiModelProperty(value = "用户名", required = false)
    private String userName;

    /*
     * ID,loginName,userName,creteTime,UpdateTime,studentNumner
     */
    @ApiModelProperty(value = "角色", required = false)
    private List<String> roleNames;

    /**
     * 登录账号
     */
    @ApiModelProperty(value = "登录账号", required = false)
    private String loginName;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = false)
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", required = false)
    private LocalDateTime updateTime;


    /**
     * 学号
     */
    @ApiModelProperty(value = "更新时间", required = false)
    private String studentNumner;

    private String roleName;
}
